package com.nutquest.common.dataobjects;

import java.io.*;

/**
 * Represents a Nut that the player can pick up. These exist as objects in the
 * Terrain object.
 */
public class Nut implements Serializable {
	public NutType type;

	/**
	 * Constructor
	 * 
	 * @arg type The type of the nut.
	 */
	public Nut(NutType type) {
		this.type = type;
	}

	/**
	 * This is the type that this Nut can be.
	 * 
	 * Access it by typing "Nut.NutType.ACORN"
	 */
	public enum NutType {
		WALNUT, ACORN
	}
}